<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow: perf/clock_type.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow<span id="projectnumber">&#160;2.0.0</span>
   </div>
   <div id="projectbrief">Flow project: Full implementation reference.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c3b46db8887e8285e98d946e3c1c617e.html">perf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">clock_type.cpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="clock__type__fwd_8hpp_source.html">flow/perf/clock_type_fwd.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="util_2util_8hpp_source.html">flow/util/util.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="string__ostream_8hpp_source.html">flow/util/string_ostream.hpp</a>&quot;</code><br />
</div>
<p><a href="clock__type_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceflow"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow.html">flow</a></td></tr>
<tr class="memdesc:namespaceflow"><td class="mdescLeft">&#160;</td><td class="mdescRight">Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceflow_1_1perf"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html">flow::perf</a></td></tr>
<tr class="memdesc:namespaceflow_1_1perf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flow module containing tools for profiling and optimization. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="memItemLeft" align="right" valign="top">Duration_set&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#af4b93cb0638c3d0bcfcf36903f0a3e46">flow::perf::operator-</a> (const Time_pt_set &amp;to, const Time_pt_set &amp;from)</td></tr>
<tr class="memdesc:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> representing the time that passed since <code>from</code> to <code>to</code> (negative if <code>to</code> happened earlier), for each <code>Clock_type</code> stored.  <a href="namespaceflow_1_1perf.html#af4b93cb0638c3d0bcfcf36903f0a3e46">More...</a><br /></td></tr>
<tr class="separator:af4b93cb0638c3d0bcfcf36903f0a3e46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c1e96770f8264d938ac09546a7cdb95"><td class="memItemLeft" align="right" valign="top">Duration_set &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#a1c1e96770f8264d938ac09546a7cdb95">flow::perf::operator+=</a> (Duration_set &amp;target, const Duration_set &amp;to_add)</td></tr>
<tr class="memdesc:a1c1e96770f8264d938ac09546a7cdb95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advances each <code>Duration</code> in the target <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> by the given respective addend <code>Duration</code>s (negative Duration causes advancing backwards).  <a href="namespaceflow_1_1perf.html#a1c1e96770f8264d938ac09546a7cdb95">More...</a><br /></td></tr>
<tr class="separator:a1c1e96770f8264d938ac09546a7cdb95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46efb90b848b87bb7bbaa3e415616e6e"><td class="memItemLeft" align="right" valign="top">Time_pt_set &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#a46efb90b848b87bb7bbaa3e415616e6e">flow::perf::operator+=</a> (Time_pt_set &amp;target, const Duration_set &amp;to_add)</td></tr>
<tr class="memdesc:a46efb90b848b87bb7bbaa3e415616e6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advances each <code>Time_pt</code> in the target <a class="el" href="structflow_1_1perf_1_1Time__pt__set.html" title="Convenience wrapper around an array&lt;Time_pt, N&gt;, which stores a time point for each of the N possible...">Time_pt_set</a> by the given respective addend <code>Duration</code>s (negative <code>Duration</code> causes advancing backwards).  <a href="namespaceflow_1_1perf.html#a46efb90b848b87bb7bbaa3e415616e6e">More...</a><br /></td></tr>
<tr class="separator:a46efb90b848b87bb7bbaa3e415616e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a129032bde1082e8f2681669acf6bf03d"><td class="memItemLeft" align="right" valign="top">Duration_set &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#a129032bde1082e8f2681669acf6bf03d">flow::perf::operator*=</a> (Duration_set &amp;target, uint64_t mult_scale)</td></tr>
<tr class="memdesc:a129032bde1082e8f2681669acf6bf03d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales each <code>Duration</code> in the target <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> by the given numerical constant.  <a href="namespaceflow_1_1perf.html#a129032bde1082e8f2681669acf6bf03d">More...</a><br /></td></tr>
<tr class="separator:a129032bde1082e8f2681669acf6bf03d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff603762f38b9e3e3d50b833e09c3f91"><td class="memItemLeft" align="right" valign="top">Duration_set &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#aff603762f38b9e3e3d50b833e09c3f91">flow::perf::operator/=</a> (Duration_set &amp;target, uint64_t div_scale)</td></tr>
<tr class="memdesc:aff603762f38b9e3e3d50b833e09c3f91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divides each <code>Duration</code> in the target <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> by the given numerical constant.  <a href="namespaceflow_1_1perf.html#aff603762f38b9e3e3d50b833e09c3f91">More...</a><br /></td></tr>
<tr class="separator:aff603762f38b9e3e3d50b833e09c3f91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa26027bcba9c000350811727f0a8fc21"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#aa26027bcba9c000350811727f0a8fc21">flow::perf::operator&lt;&lt;</a> (std::ostream &amp;os, Clock_type clock_type)</td></tr>
<tr class="memdesc:aa26027bcba9c000350811727f0a8fc21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints string representation of the given clock type <code>enum</code> value to the given <code>ostream</code>.  <a href="namespaceflow_1_1perf.html#aa26027bcba9c000350811727f0a8fc21">More...</a><br /></td></tr>
<tr class="separator:aa26027bcba9c000350811727f0a8fc21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cff304aa30be9d5810f90101d32b761"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceflow_1_1perf.html#a4cff304aa30be9d5810f90101d32b761">flow::perf::operator&lt;&lt;</a> (std::ostream &amp;os, const Duration_set &amp;duration_set)</td></tr>
<tr class="memdesc:a4cff304aa30be9d5810f90101d32b761"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints string representation of the given <a class="el" href="structflow_1_1perf_1_1Duration__set.html" title="Convenience wrapper around an array&lt;Duration, N&gt;, which stores a duration for each of the N possible ...">Duration_set</a> value to the given <code>ostream</code>.  <a href="namespaceflow_1_1perf.html#a4cff304aa30be9d5810f90101d32b761">More...</a><br /></td></tr>
<tr class="separator:a4cff304aa30be9d5810f90101d32b761"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 28 2025 22:55:35 for Flow by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
